<template>
	<div>
		<div class="recommend-title">周末去哪儿</div>
		
		<ul class="item-ul">
			<li class="item border-bottom" v-for="item of list" :key="item.id">
				<div class="item-img-wrapper">
					<img :src="item.imgUrl" alt="" class="item-img" />
					
				</div>
				
				<div class="item-info">
					<p class="item-title">{{item.title}}</p>
					<p class="item-desc">{{item.desc}}</p>
					
				</div>
			</li>
		</ul>
	</div>
</template>

<script>
	export default {
		name: "Home-Weekend",
		props: {
			list :Array
		},
		data () {
			return{
				
			}
		}
	}
</script>

<style lang="stylus" scoped="scoped">
	@import '~styles/mixins.styl'
	.recommend-title
	  text-indent: 0.24rem;
	  line-height: .8rem;
	  background: #eee;

		.item
		 
		  position: relative;
		  overflow: hidden;
		  padding: 0.2rem 0;
			.item-img-wrapper
			  height: 0;
			  padding-bottom: 37.4375%;
			  .item-img
			     width: 100%;
			.item-info
			 
			  padding: .14rem .2rem 0 .2rem;
			  min-width: 0;
				.item-title
				  line-height: .54rem;
				  font-size: .32rem;
				  padding-right: 1.4rem;
				  color: #212121;
				.item-desc
				  line-height: .4rem;
				  padding-right: 1.4rem;
				  font-size: .24rem;
				  color: #616161;
				  ellipsis();
				  
				
			
			    			    
	  
</style>